package com.xd.core.api.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 预付款订单信息表
 * </p>
 *
 * @author ZX
 * @since 2025-06-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="AdvancePaymentOrder对象", description="预付款订单信息表")
public class AdvancePaymentOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商户订单")
    private String orderNo;

    @ApiModelProperty(value = "申请金额(单位分)")
    private Long amount;

    @ApiModelProperty(value = "（0--银行转账，1--平台代扣)")
    private String type;

    @ApiModelProperty(value = "支付状态（1-申请中，2-成功，3-失败）")
    private String payStatus;

    @ApiModelProperty(value = "企业id")
    private Integer companyId;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "交易时间")
    private Date tradeTime;

    @ApiModelProperty(value = "失败原因")
    private String failCause;

    @ApiModelProperty(value = "还款人")
    private String repayName;

    @ApiModelProperty(value = "还款账号")
    private String repayAccount;

    @ApiModelProperty(value = "还款开户行")
    private String repayBank;

    @ApiModelProperty(value = "进件id")
    private Integer incomingId;

    @ApiModelProperty(value = "放款id")
    private Integer outId;

    @ApiModelProperty(value = "是否分账（0-否，1-是）")
    private String shareStatus;

    @ApiModelProperty(value = "银行转账预付款凭证")
    private String voucher;

    @ApiModelProperty(value = "预付款服务费(单位元)")
    private BigDecimal collectionAmount;
}
